﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            computer com = new computer();
            IComputer icom = com;
            icom.id = 1;
            icom.name = "张三";
            com.English = 65;
            com.datebase = 48;
            com.Program = 92;
            Console.WriteLine("学号" + icom.id);
            Console.WriteLine("姓名"+icom.name );
            Console.WriteLine("成绩如下");
            icom.Avg();
            icom.Total();

        }
    }
}
